<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员登录 - ${site.name} - Powered by SM1000</title>
<link href="${resSys}/front.css" rel="stylesheet" type="text/css"/>
<script src="${resSys}/jquery.js" type="text/javascript"></script>
<script src="${resSys}/front.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/${res}/css/member.css" />
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});
</script>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
</head>

<body>
<div class="container">
<!--mc_header-->
[#include "会员中心页_页头.html"/]
<!--mc_header_end-->

<div class="main">
<!--top-->
<div class="my_local">
<div class="location_cs">
您现在的位置：&nbsp;<a class='LinkPath' href='#'>网站首页</a>&nbsp;&raquo;&nbsp;<a class='LinkPath' href='${base}/member/index.jspx'>会员中心</a>&nbsp;&raquo;&nbsp;投稿列表
</div>
</div>
<!--top_end-->

<div class="mrow box">

<!--mc_left-->
[#include "会员中心页_导航.html"/]
<!--mc_left_end-->

<!--mc_center-->
<div class="mc_center">
  <div><img src="/${res}/img/member/web_center_top.jpg" /></div>
  <div class="mc_center_bj"></div>
  <div><img src="/${res}/img/member/web_center_bottom.jpg" /></div>
</div>
<!--mc_center_end-->

<!--mc_right-->
<div class="mc_right">
   <div class="mc_top_bj box">
      <div class="page_tit">投稿列表</div>
	  <!--
	  <div class="user_info_cs">
	  <a href="${base}/member/index.jspx">会员中心首页</a> | <a href="#">退出</a>
	  </div>
	  -->
   </div>
   <div class="mc_content">  
<form id="tableForm" action="contribute_list.jspx" method="post">
[#if pagination.list?size gt 0]
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#C8DCF0" class="tblist">
<tr>
	<th>ID</th>
	<th>标题</th>
	<th>栏目</th>
	<th>状态</th>
	<th>点击</th>
	<th>发布时间</th>
	<th>操作</th>
</tr>
[#list pagination.list as c]
<tr>	
	<td bgcolor="#FFFFFF">${c.id}</td>
	<td bgcolor="#FFFFFF">${c.title?html}</td>
	<td bgcolor="#FFFFFF">${c.channel.name}</td>
	<td bgcolor="#FFFFFF">[#if c.checked]审核通过[#elseif c.checkStep==0]未审核[#else]审核中[/#if]</td>
	<td bgcolor="#FFFFFF">${c.views}</td>
	<td bgcolor="#FFFFFF">${c.releaseDate?string('yyyy-MM-dd')}</td>
	<td bgcolor="#FFFFFF">[#if c.checkStep==0]<a href="contribute_edit.jspx?id=${c.id}&nextUrl=contribute_list.jspx">修改<a> | <a href="contribute_delete.jspx?ids=${c.id}&nextUrl=contribute_list.jspx">删除<a>[#else]修改 | 删除[/#if]</td>
</tr>
[/#list]
</table>
<input type="hidden" name="pageNo"/>
<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" class="pn-sp">
	共 ${pagination.totalCount} 条&nbsp;
	每页 ${pagination.pageSize} 条&nbsp;
	<input type="button" value="首 页" onclick="_gotoPage('1');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
	<input type="button" value="上一页" onclick="_gotoPage('${pagination.prePage}');"[#if pagination.firstPage] disabled="disabled"[/#if]/>
	<input type="button" value="下一页" onclick="_gotoPage('${pagination.nextPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>
	<input type="button" value="尾 页" onclick="_gotoPage('${pagination.totalPage}');"[#if pagination.lastPage] disabled="disabled"[/#if]/>&nbsp;
	当前 ${pagination.pageNo}/${pagination.totalPage} 页 &nbsp;转到第<input type="text" id="_goPs" style="width:50px" onfocus="this.select();" onkeypress="if(event.keyCode==13){$('#_goPage').click();return false;}"/>页
	<input id="_goPage" type="button" value="转" onclick="_gotoPage($('#_goPs').val());"[#if pagination.totalPage==1] disabled="disabled"[/#if]/>
</td>
</tr>
</table>
<script type="text/javascript">
function _gotoPage(pageNo) {
	try{
		var tableForm = document.getElementById("tableForm");
		$("input[name=pageNo]").val(pageNo);
		tableForm.action="contribute_list.jspx";
		tableForm.onsubmit=null;
		tableForm.submit();
	} catch(e) {
		alert('_gotoPage(pageNo)方法出错');
	}
}
</script>
[#else]
	<div>没有数据</div>
[/#if]
</form>
   </div>

</div>
<!--mc_right_end-->

</div>
</div>

<!--footer-->
[#include "会员中心页_页脚.html"/]
<!--footer_end-->

</div>
</body>
</html>